package com.ruoyi.stat.toilet.service.impl;

import java.util.List;

import com.ruoyi.standingbook.v2toilet.domain.vo.V2ToiletVo;
import com.ruoyi.stat.toilet.domain.bo.CommunityToiletStatBo;
import com.ruoyi.stat.toilet.domain.vo.CommunityToiletStatVo;
import com.ruoyi.stat.toilet.mapper.CommunityToiletStatMapper;
import com.ruoyi.stat.toilet.service.ICommunityToiletStatService;
import org.springframework.stereotype.Service;

import lombok.RequiredArgsConstructor;

/**
 * 电子档案公厕数据统计汇总Service接口实现
 *
 * @author zf
 * @date 2023-06-08
 *
 */
@RequiredArgsConstructor
@Service
public class CommunityToiletStatService implements ICommunityToiletStatService {

    private final CommunityToiletStatMapper baseMapper;

    @Override
    public List<CommunityToiletStatVo> getCommunityToiletStatNum(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatNum(communityToiletStatBo);
    }
    @Override
    public CommunityToiletStatVo getCommunityToiletStatByDate(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatByDate(communityToiletStatBo);
    }

    @Override
    public CommunityToiletStatVo getCommunityToiletStatByMonth(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatByMonth(communityToiletStatBo);
    }

    @Override
    public CommunityToiletStatVo getToiletStatByDate(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getToiletStatByDate(communityToiletStatBo);
    }

    @Override
    public CommunityToiletStatVo getToiletStatByMonth(CommunityToiletStatBo communityToiletStatBo) {
        return baseMapper.getToiletStatByMonth(communityToiletStatBo);
    }

    @Override
    public List<CommunityToiletStatVo> getCommunityToiletStatMaxByDate(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatMaxByDate(communityToiletStatBo);
    }
    @Override
    public List<CommunityToiletStatVo> getCommunityToiletStatMinByDate(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatMinByDate(communityToiletStatBo);
    }
    @Override
    public List<CommunityToiletStatVo> getCommunityToiletStatMaxByMonth(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatMaxByMonth(communityToiletStatBo);
    }
    @Override
    public List<CommunityToiletStatVo> getCommunityToiletStatMinByMonth(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatMinByMonth(communityToiletStatBo);
    }

    @Override
    public List<V2ToiletVo> getCommunityToiletStatEveryDateByDate(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatEveryDateByDate(communityToiletStatBo);
    }
    @Override
    public List<V2ToiletVo> getCommunityToiletStatEveryDateByMonth(CommunityToiletStatBo communityToiletStatBo){
        return baseMapper.getCommunityToiletStatEveryDateByMonth(communityToiletStatBo);
    }
}
